<link rel="stylesheet" href="<?php echo CSS; ?>/information_detail.css">
   

    <!-- 分类 -->
    <section>
        <div class="container classify">
            <div class="row">
                <ul>
                    <?php foreach($classify as $val){ ?>
                        <li class="<?php 
                        if($news_one['news_type'] == $val['new_type_id']){
                            echo 'active';
                        } ?>"><a href=""><?php echo $val['new_type_name']; ?></a></li>
                    <?php } ?>
                </ul>
            </div>
        </div>
    </section>

    <!-- 路径导航 -->
    <section>
        <div class="container">
            <div class="row">
                <ol class="path">
                    <li><a>所在位置</a></li>
                    <li><a href="index.php">首页</a></li>
                    <li><a href="news_list.php">资讯</a></li>
                    <li><a href=""><?php echo $news_type[$news_id - 1]['new_type_name']; ?></a></li>
                </ol>
            </div>
        </div>
    </section>

    <!-- 产品展示 -->
    <section>
        <div class="container show">
            <div class="row">
                <div class="col-xs-12 title">
                    <div class="tit-top">
                        <h3>【喜邦】<?php echo $news_type[$news_id - 1]['new_type_name']; ?></h3>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-xs-12 news">
                    <h3 class="text-center">本土日化上市需要等待时机</h3>
                    <p class="text-center">发布者:<?php echo $news_one['news_author']; ?><span>发布时间: <?php echo date('Y-m-d', $news_one['news_time']); ?></span></p>
                    <a href=""><img src="<?php echo ROOT.'/admin/'.$news_one['news_img']; ?>" class="center-block img-responsive" alt=""></a>
                </div>
                <div class="col-xs-12">
                    <div class="content">
                    <?php foreach($news as $val){ 
                        if($val != ''){?>
                        <p><?php echo $val; ?></p>
                    <?php }} ?>
                    </div>
                    
                </div>
            </div>
        </div>
    </section>

    <!-- 分页 -->
    <section>
        <div class="container page">
            <div class="row">
                <ul class="center-block">
                    <?php if($pre_title){
                        echo "<li class='before'><a href=''>$pre_title 上一篇</a></li>";
                    } ?>
                    
                    <?php if($next_title){
                        echo "<li class='next'><a href=''>下一篇 $next_title</a></li>";
                    } ?>
                    
                </ul>
            </div>
        </div>
    </section>

    <script>
        $(function () {
            $('.my-nav ul li').mouseenter(function () {
                $(this).addClass('active').siblings().removeClass('active');
            })
            $('.classify ul li').mouseenter(function () {
                $(this).addClass('active').siblings().removeClass('active');
            })
        })
    </script>